package com.wp.backup.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author wp
 * @create 2019-03-06 10:29
 */
@Component
@ConfigurationProperties(prefix = "backup.datasource")
@Data
public class BackupDataSourceProperties {

    private String host;
    private String userName;
    private String password;
    private List<String> database;

}
